package nicg.st.service.evaldataenterservice;

public class Calculation26 implements Calculation {
    private double n;
    private double m;

    @Override
    public double calculate() {
        if(n>=m) {
        	return 100;
        }else {
        	return 100*(1-(m-n)/m);
        }
    }

	public double getN() {
		return n;
	}

	public void setN(double n) {
		this.n = n;
	}

	public double getM() {
		return m;
	}

	public void setM(double m) {
		this.m = m;
	}

    
}
